package com.itcast.bulls.stock.task.job.finance;

import com.itcast.bulls.stock.task.service.IAccountSettlementService;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;

import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 生成账户交割单数据信息，执行时间放在休市
 */


@Service
@Log4j2
public class AccountSettlementJob{

    /**
     * 账户交割单任务的实现接口
     */
    @Autowired
    private IAccountSettlementService accountSettlementService;



    /*@Override
    public ReturnT<String> execute(String s) throws Exception {
        log.info("Process in AccountSettlementJob.execute,params: "+s);
        try {
            accountSettlementService.generateAccountSettlement(s);
            return SUCCESS;
        }catch (Exception e){
            log.error(e.getMessage(),e);
        }
        return FAIL;
    }*/

}
